module.exports = {
	transpileDependencies: ['uview-ui'],
    devServer: {
        proxy: {
            '/marriage/admin': {
                target: 'http://hfnys.cn',
                changeOrigin: true,
                pathRewrite: {
                    '^/marriage/admin': '/marriage/admin',
                },
            },
			'/api_region_search': {
                target: 'https://api.map.baidu.com',
                changeOrigin: true,
                pathRewrite: {
                    '^/api_region_search': '/api_region_search',
                },
            },
			'/marriage/picture': {
                target: 'https://asetdisk.oss-cn-beijing.aliyuncs.com',
                changeOrigin: true,
                pathRewrite: {
                    '^/marriage/picture': '/marriage/picture',
                },
            },
        }
    }
}
